%%
%%
function [uv]=reconstruct_vector_field(rs,fb)
    uv=zeros(size(fb,1),size(fb,2),2);
    for ii=1:size(fb,4)
        uv=uv+rs(ii)*fb(:,:,:,ii);
    end
end